﻿/* 
 * author: www.cnblogs.com/luminji
 * date  : 2012/01/16
 */
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;

namespace Luminji.Core.Web
{
    public class DecodeHelper
    {
        public string Decode(string html)
        {
            return HttpUtility.HtmlDecode(html);
        }

        public string Encode(string html)
        {
            return HttpUtility.HtmlEncode(html);
        }
    }
}
